package com.jiyun.pojo.driver;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class DriverAttribute {
    //司机表主id
    private Integer id;
    //司机姓名
    private String driverName;
    //司机头像
    private String driverImgurl;
    //司机手机号
    private String driverPhone;
    //司机性别：1男，2女
    private Integer driverSex;
    //司机生日
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date driverBirthday;
    //司机年龄
    private Integer driverAge;
    //司机邮箱
    private String driverMailbox;
    //司机驾驶证失效日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date driverValidity;
    //司机最后一次登录时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date driverEndLoginTime;
    //评分
    private Integer driverPoint;

}
